package com.elive.pojo;

import java.util.Date;

public class Order {
    private Integer id;

    private String orderNumber;

    private Integer apartmentId;

    private Integer renderId;

    private Integer hostId;

    private Date startTime;

    private Date endTime;

    public Order(Integer id, String orderNumber, Integer apartmentId, Integer renderId, Integer hostId, Date startTime, Date endTime) {
        this.id = id;
        this.orderNumber = orderNumber;
        this.apartmentId = apartmentId;
        this.renderId = renderId;
        this.hostId = hostId;
        this.startTime = startTime;
        this.endTime = endTime;
    }

    public Order() {
        super();
    }

    public Integer getHostId() {
        return hostId;
    }

    public void setHostId(Integer hostId) {
        this.hostId = hostId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber == null ? null : orderNumber.trim();
    }

    public Integer getApartmentId() {
        return apartmentId;
    }

    public void setApartmentId(Integer apartmentId) {
        this.apartmentId = apartmentId;
    }

    public Integer getRenderId() {
        return renderId;
    }

    public void setRenderId(Integer renderId) {
        this.renderId = renderId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}